﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GOFtest
{
    public partial class C21_Singeton : Form
    {
        public C21_Singeton()
        {
            InitializeComponent();
            this.IsMdiContainer = true; //默认只有FORM1是自带此属性的
        }

        private void button1_Click(object sender, EventArgs e)
        {
            C21_ToolBox.GetInstance().Show();
        }
    }
}
